#pragma once
#include <opencv2/imgproc/imgproc_c.h>
float computeEntropy(IplImage * img);

class CShotCut
{
private:
	float m_hsv_hist[48];
	float m_thres;
	int m_lev;
	int m_f_count;
	bool m_init_t;
	float computeSim(float * d1, float * d2, int size);

public:
	CShotCut(void);
	~CShotCut(void);
	bool checkCut(IplImage * img);
	bool checkCut(IplImage * img, float &outputSim);
	void setThres(float thres);
};
